package com.sky.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@Builder//??????新的一种构建对象方式todo
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "员工登录返回的数据格式")//swagger
public class EmployeeLoginVO implements Serializable {

    @ApiModelProperty("主键值")//swagger
    private Long id;

    @ApiModelProperty("用户名")//swagger
    private String userName;

    @ApiModelProperty("姓名")//swagger
    private String name;

    @ApiModelProperty("jwt令牌")//swagger
    private String token;

}
